<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>字幕助手</title>
    <link rel="stylesheet" href="../css/style.css">
</head>
<body>
    <div class="container">
        <h2>字幕助手</h2>
        
        <!-- 参考文案区域 -->
        <div class="reference-section">
            <h3>参考文案</h3>
            
            <!-- 文件上传区域 -->
            <div id="fileUploadArea" class="reference-input">
                <div class="file-upload">
                    <input type="file" id="referenceFile" accept=".txt,.doc,.docx,.pdf">
                    <label for="referenceFile">选择文件</label>
                </div>
                <div id="fileName" class="file-name"></div>
            </div>
        </div>
        
        <div class="controls">
            <button id="test" class="button">test</button>
            <button id="moveSubtitles" class="button">移动字幕</button>
            <button id="generateSubtitles" class="button">生成字幕</button>
            <button id="importSubtitles" class="button" disabled>导入字幕</button>
        </div>
        <div id="status" class="status"></div>
        <button id="reloadDebug" class="debug-button">重新加载</button>
    </div>
    <script src="../js/CSInterface.js"></script>
    <script src="../js/main.js"></script>
</body>
</html> 